package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author WeiZiDong
 */
@Table(name = "`onl_cgreport_item`")
@Data
@ApiModel("")
public class OnlCgreportItem implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "Id", example = "String")
    private String id;
    @Column(name = "`cgrhead_id`")
    @ApiModelProperty(value = "报表ID", example = "String")
    private String cgrheadId;
    @Column(name = "`field_name`")
    @ApiModelProperty(value = "字段名字", example = "String")
    private String fieldName;
    @Column(name = "`field_txt`")
    @ApiModelProperty(value = "字段文本", example = "String")
    private String fieldTxt;
    @Column(name = "`field_width`")
    @ApiModelProperty(value = "FieldWidth", example = "1")
    private Integer fieldWidth;
    @Column(name = "`field_type`")
    @ApiModelProperty(value = "字段类型", example = "String")
    private String fieldType;
    @Column(name = "`search_mode`")
    @ApiModelProperty(value = "查询模式", example = "String")
    private String searchMode;
    @Column(name = "`is_order`")
    @ApiModelProperty(value = "是否排序0否,1是", example = "0")
    private Integer isOrder;
    @Column(name = "`is_search`")
    @ApiModelProperty(value = "是否查询0否,1是", example = "0")
    private Integer isSearch;
    @Column(name = "`dict_code`")
    @ApiModelProperty(value = "字典CODE", example = "String")
    private String dictCode;
    @Column(name = "`field_href`")
    @ApiModelProperty(value = "字段跳转URL", example = "String")
    private String fieldHref;
    @Column(name = "`is_show`")
    @ApiModelProperty(value = "是否显示0否,1显示", example = "1")
    private Integer isShow;
    @Column(name = "`order_num`")
    @ApiModelProperty(value = "排序", example = "1")
    private Integer orderNum;
    @Column(name = "`replace_val`")
    @ApiModelProperty(value = "取值表达式", example = "String")
    private String replaceVal;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "修改人", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "修改时间", example = "2019-05-05 17:55:31")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}
